package com.sdy.dcsb.biz.service.impl;

import com.sdy.dcsb.biz.mapper.EsbEncapsulationThreadMapper;
import com.sdy.dcsb.biz.model.EsbEncapsulationThread;
import com.sdy.dcsb.biz.model.vo.EsbEncapsulationThreadVo;
import com.sdy.dcsb.biz.service.EsbEncapsulationThreadService;
import com.sdy.mvc.service.impl.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Snaky
 */
@Slf4j
@Service
public class EsbEncapsulationThreadServiceImpl extends BaseServiceImpl<EsbEncapsulationThread> implements EsbEncapsulationThreadService {
    @Autowired
    private EsbEncapsulationThreadMapper mapper;

    /**
     * @param id 封装接口id
     * @return 线程配置信息
     */
    @Override
    public List<EsbEncapsulationThreadVo> getThreadInfo(Integer id) {
        return mapper.getThreadInfo(id);
    }
}
